public class AllClassesTriggersController {


    public List<ApexClass> getAllClasses()
    
        {
        
            return [Select Status,Name, IsValid, Body,CreatedDate, ApiVersion From ApexClass order by Name];
        
        }
        
    public List<ApexComponent> getAllComponents()
        {
        
            return [Select Name, MasterLabel, Markup, ControllerKey, ApiVersion From ApexComponent order by Name];
                
        
        }
        
     public List<ApexTrigger > getAllTriggers() 
     {
         return [Select UsageIsBulk,UsageBeforeUpdate,UsageBeforeInsert,UsageBeforeDelete,UsageAfterUpdate,UsageAfterUndelete,UsageAfterInsert,UsageAfterDelete,TableEnumOrId,SystemModstamp,Status,NamespacePrefix,Name,LengthWithoutComments,LastModifiedDate,LastModifiedById,IsValid,Id,CreatedDate,CreatedById,BodyCrc,Body,ApiVersion From ApexTrigger order by Name];
     }   

}